package com.casems.service.impl;

import com.casems.commons.dto.CaseData;
import com.casems.entity.Symptom;
import com.casems.mapper.SymptomMapper;
import com.casems.service.SymptomService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author tch
 * @since 2023-05-17
 */
@Service
public class SymptomServiceImpl extends ServiceImpl<SymptomMapper, Symptom> implements SymptomService {

    @Autowired
    private SymptomMapper symptomMapper;

    @Override
    public List<CaseData> getSymptomTop10() {
        return symptomMapper.getSymtomTop10();
    }
}
